<?php
/**
 * 后台菜单配置
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/7/15
 * Time: 9:22
 */
return [
    [
        'name' => '商品管理',
        'icon'=>'/static/img/icon_menu_function.png',
        'auth_role' => '1,2,3',
        'item' => [
            [
                'name' => '商品管理',
                'url' => '/mall',
                'auth_role' => '1,2,3'
            ],
            [
                'name' => '店铺类别',
                'url' => '/co_type',
                'auth_role' => '1,2,3'
            ],
            [
                'name' => '运费模板',
                'url' => '/fare_tmpl',
                'auth_role' => '1,2,3'
            ],
            
           
        ]
    ],
    [
        'name' => '营销服务',
        'icon'=>'/static/img/icon_menu_function.png',
        'auth_role' => '1,2,3',
        'item' => [
//            [
//                'name' => '秒杀管理',
//                'url' => '/admin',
//                'auth_role' => '1,2,3'
//            ],
            
            [
                'name' => '拼团管理',
                'url' => '/group',
                'auth_role' => '2,3'
            ],
            
            [
                'name' => '预订广告',
                'url' => '/ad',
                'auth_role' => '2,3'
            ],
            [
                'name' => '竞价排名',
                'url' => '/spread',
                'auth_role' => '2,3'
            ],
            [
                'name' => '我的广告位',
                'url' => '/ad/my',
                'auth_role' => '2,3'
            ],
            [
                'name' => '我的排名',
                'url' => '/spread/my',
                'auth_role' => '2,3'
            ],
        ]
    ],
    [
        'name' => '订单管理',
        'icon'=>'/static/img/icon_menu_function.png',
        'auth_role' => '1,2,3',
        'item' => [
            [
                'name' => '商品订单',
                'url' => '/order?mid=1',
                'auth_role' => '2,3'
            ],
//            [
//                'name' => '秒杀订单',
//                'url' => '/order?mid=4',
//                'auth_role' => '1,2,3'
//            ],
//            [
//                'name' => '拼团订单',
//                'url' => '/order/?mid=5',
//                'auth_role' => '2,3'
//            ],
        ]
    ],
    [
        'name' => '资金管理',
        'icon'=>'/static/img/icon_menu_function.png',
        'auth_role' => '1,2,3',
        'item' => [
            [
                'name' => '资金流水',
                'url' => '/amount',
                'auth_role' => '1,2,3'
            ],
            [
                'name' => '资金提现',
                'url' => '/withdraw',
                'auth_role' => '2,3'
            ],
            [
                'name' => '提现设置',
                'url' => '/amount/set',
                'auth_role' => '2,3'
            ],
        ]
    ],
    [
        'name' => '常用服务',
        'icon'=>'/static/img/icon_menu_function.png',
        'auth_role' => '1,2,3',
        'item' => [
            [
                'name' => '数据统计',
                'url' => '/index/analysis',
                'auth_role' => '1,2,3'
            ],
//            [
//                'name' => '评论回复',
//                'url' => '/admin/book/rent_back',
//                'auth_role' => '2,3'
//            ],
            [
                'name' => '修改信息',
                'url' => '/user/edit',
                'auth_role' => '2,3'
            ],
        ]
    ],

];
